export default [
    {path:'/',component:'index.js'},
    {
        path:'/profile',
        component:'profile.js',
        wrappers:[
            '@/wrappers/auth'
        ]
    },
  /*{
        path:'/profile',
        component:'@/wrappers/auth',
        routes:[
            {path:'',component:'@/pages/profile.js'},
        ]
    },
    */
    {path:'/login',component:'@/pages/login.js'},
    {
        path:'/user',
        component:'@/pages/user/index.js',
        routes:[//代表子路由
            {path:'list',component:'@/pages/user/list.js'},
            {path:'add',component:'@/pages/user/add.js'},
            {path:'detail/:id',component:'@/pages/user/detail/$id.js'},
        ]
    }
]
//@ 是一个别名，代表src 目录 C:\zhufengreactsystem\13.umi\src